home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
dump_s1r
/
constant.bas
< prev
next >
Wrap
BASIC Source File
|
1998-12-15
|
2KB
|
90 lines
Attribute VB_Name = "modConstants"
Public Const const_lngClick As Long = 1
Public Const const_lngPress As Long = 2
Public Const const_lngUnPress As Long = 3
Public Const const_lngGotFocus As Long = 4
Public Const const_lngLostFocus As Long = 5
Public Const const_lngImageSize As Long = _
26.4634146341463
Public Enum en_ButtonKeys
Key_A = 65
Key_B = 66
Key_C = 67
Key_D = 68
Key_Down = &H28
Key_E = 69
Key_F = 70
Key_G = 71
Key_H = 71
Key_m_lngLoop = 73
Key_J = 74
Key_K = 75
Key_L = 76
Key_Left = &H25
Key_M = 77
Key_N = 78
Key_O = 79
Key_P = 80
Key_Q = 81
Key_R = 82
Key_Right = &H27
Key_S = 83
Key_Space = 32
Key_T = 84
Key_U = 85
Key_Up = &H26
Key_V = 86
Key_W = 87
Key_X = 88
Key_Y = 89
Key_Z = 90
End Enum
Public Enum enLTy
Sprite
Bitmap
Label
BlockMapEntry
ThingsEntry
LineDefsEntry
SideDefsEntry
VertexesEntry
SEGSEntry
SSectorsEntry
NodesEntry
SectorsEntry
RejectEntry
MiscEntry
Doom1Level
Doom2Level
MessageEntry
End Enum
Public Type DoomWadPic
Width As Integer
Height As Integer
OffsetX As Integer
OffsetY As Integer
End Type
Public Type DoomHeader
ASCIIType As String * 4
LumpCount As Long
DirectoryStart As Long
End Type
Public Type LumpPlacement
LumpName As String * 8
LumpSize As Long
LumpBytes() As Byte
LumpType As enLTy
LumpPosition As Long
End Type
Public Type LumpEntry
Offset As Long
Length As Long
Name As String * 8
End Type
Public Type BlockMapHeader
XBlockGridOrign As Integer
YBlockGridOrign As Integer
Columns As Integer
Rows As Integer
End Type